package com.softstao.guoyu.mvp.presenter;

import com.softstao.guoyu.model.DirectlyList;
import com.softstao.guoyu.mvp.interactor.IsCompleteInteractor;
import com.softstao.guoyu.mvp.viewer.IsCompleteViewer;

/**
 * Created by vaikus on 2017/6/13.
 */

public class IsCompletePresenter extends BasePresenter<IsCompleteViewer, IsCompleteInteractor> {
    public void isComplete(int agentId){
        interactor.isComplete(agentId,o -> viewer.isResult((DirectlyList) o));
    }
}
